﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MC.RideEventMVC.Models.Entity;

namespace MC.RideEventMVC.Models
{
    public interface IWayRepository
    {
        List<Way> GetLastWays();
        List<Way> GetLastWaysByEventId();
        List<Event> GetWaysByEventId(int eventId);
        
        //decommenter et completer les methodes suivantes
        //bool AddWay(??, ??, ??);
        //bool AffectPassagers(int wayId, List<int passagerId>);
        //bool CancelPassager(int wayId, int passagerId);
    }
}
